package com.hdoit.apollo.logical.stock.service;

import java.util.List;

import com.hdoit.apollo.logical.cargo.model.Cargo;
import com.hdoit.apollo.logical.stock.model.OutStockCollocation;
import com.hdoit.apollo.logical.viewmodel.billing.BillingSearch;
import com.hdoit.apollo.logical.viewmodel.billing.BillingStat;
import com.hdoit.apollo.logical.viewmodel.billing.BillingDetailed;
import com.tennetcn.data.dao.base.ISuperService;
import com.tennetcn.data.message.PagerModel;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 14:15:14
 * @comment
 */
public interface IOutStockCollocationService extends ISuperService<OutStockCollocation>{

	public boolean deleteOutStockShowCollocation(String showId);
	
	public List<BillingDetailed> queryListByDetailed(BillingSearch search,PagerModel pagerModel);
	
	public BillingStat querySummaryStat(BillingSearch search);
	
	public int queryCountByDetailed(BillingSearch search);

	public List<BillingStat> queryListBySummary(BillingSearch search,PagerModel pagerModel);
	
	public int queryCountBySummary(BillingSearch search);

	public OutStockCollocation queryModelByBilling(String collocationId,String billingId);

	public List<Cargo> querySaleCargoList(BillingSearch search);
}